home *** CD-ROM | disk | FTP | other *** search
/ Spiceworld The Movie - Interactive CD-ROM / Spiceworld The Movie: Interactive CD-ROM.iso / pc / elements / spicetwo.dir / scripts_51.ls < prev    next >
Encoding:
Text File  |  1997-12-04  |  652 b   |  24 lines

  1. on poshPuzzle
  2.   global PRINTLIST
  3.   set offset to 2
  4.   set spriteNo to the clickOn
  5.   set turnSides to random(4)
  6.   repeat with turnCount = 1 to turnSides
  7.     set memberName to "ps," & spriteNo - offset & "," & turnCount
  8.     set the member of sprite spriteNo to memberName
  9.     updateStage()
  10.     startTimer()
  11.     repeat while the timer < 15
  12.     end repeat
  13.   end repeat
  14.   repeat with spriteNo = 1 to 9
  15.     if value(item 3 of the name of member the memberNum of sprite (spriteNo + offset)) = 1 then
  16.       next repeat
  17.     end if
  18.     exit
  19.   end repeat
  20.   put "posh spice print" & RETURN after PRINTLIST
  21.   congratulations()
  22.   returnToMainGame(the frameLabel)
  23. end
  24.